package com.exia.android.socialnet.facebook;

import android.util.Log;
import android.view.View;

public class FacebookWallPostDeleteListener extends FacebookRequestListener {

	FacebookWallPostDeleteListener(FacebookActivity activity_p){
		super(activity_p);
	}
	
	@Override
	public void onComplete(String response) {
		if ((activity != null)&&(response.equals("true"))) {
			/*
            Log.d("Facebook-Example", "Successfully deleted wall post");
            activity.runOnUiThread(new Runnable() {
                public void run() {
                    activity.mDeleteButton.setVisibility(View.INVISIBLE);
                    activity.mText.setText("Deleted Wall Post");
                }
            });
            */
        } else {
            Log.d("Facebook-Example", "Could not delete wall post");
        }
	}

}
